package org.sippr.pojo;

import lombok.Data;

import java.io.Serializable;

/**
 * 储在数据库，中间有缓存对服务访问和数据库进行隔离
 * task_queue
 */
@Data
public class TaskQueue implements Serializable {
    private Integer id;

    private Integer creationId;
    //0代表等待中，1代表正在处理，2代表处理完成
    private Short state;

    private CreationImgAi creationImgAi;
    private CreationImgSketch creationImgSketch;
    private CreationStyle creationStyle;
    private CreationWordCue creationWordCue;
    private CreationWordNegative creationWordNegative;
    private Creation creation;
    private SdCheckPoints sdCheckPoints;

    private static final long serialVersionUID = 1L;
}